package com.itstudio.portal.service;

import com.baomidou.mybatisplus.extension.service.IService;
import com.itstudio.portal.entity.AuthInfo;
import com.itstudio.portal.entity.RestResponse;
import com.itstudio.portal.entity.dto.AuthInfoDto;
import com.itstudio.portal.entity.dto.AuthQueryDto;
import com.itstudio.portal.entity.dto.CorporateMaintenanceDto;
import com.itstudio.portal.entity.vo.CorporateMaintenanceVo;

import java.util.Map;

/**
 * @Description:
 * @Author: zhaopengbo
 * @Date: 2024/11/12
 */
public interface AuthInfoService extends IService<AuthInfo> {
    RestResponse<Map<String,Long>> submitAuthInfo(AuthInfoDto authInfoDto);

    RestResponse updateAuthInfo(AuthInfoDto authInfoDto);

    RestResponse updateMaintenance(CorporateMaintenanceDto maintenanceDto);

    RestResponse<CorporateMaintenanceVo> getMaintenance(Long userId);

    RestResponse selectAuthInfo(Long userId, Long id);

    RestResponse selectAllAuthInfo(AuthQueryDto authQueryDto);

    RestResponse deleteAuthInfo(long id);
}
